;#####################################################################################################################
;## PERSONALIZATION FILE FOR PICCOLO									    		        ##
;## DON'T modify the values if there isn't any comment explaining what to do just above. This could mess the char.  ##
;## If you're not sure, make a copy of the file before changing any value.					    					##
;#####################################################################################################################

[Statedef 5900]
type = S

[State 5900, varreset]
type = varrangeset
trigger1 = !roundsexisted
value = 0

[State 5900, varreset]
type = varrangeset
trigger1 = !roundsexisted
fvalue = 0

; DO NOT CHANGE ANYTHING ABOVE THIS LINE !!!
;=================================================

; ENGLISH, JAPANESE OR CUSTOM VOICE
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 55
;#####################################################################################################################
;## 0 is Custom English Voice from DiePod
;## 1 is Japanese Voice
;## 2 is English Voice from Chris Sabat
;## Default value is 0.
value =0


; Helpertype clones
[State 5900, 3]
type = VarSet
trigger1 = 0
v = 54
;#####################################################################################################################
;## Choose whether you want to use helpertype = normal or helpertype = player for clones.
;## Set the value to 0 for normal, 1 for player, and 2 to disable clones.
;## player may be less buggy for universal MUGEN play but you will turn to look at clones. Normal is best for HDBZ play.
;## Default value is 0.
value = 0


; SUPER BACKGROUND CHOICE
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 13
;#####################################################################################################################
;## Choose which super background you want to use when Goku kills the opponent with a Super or Ultra move. Set the
;## value to 0 to use the Street Fighter 3 Super BG, set the value to 1 to use the Jojo's Bizarre Adventure Super BG.
;## Set the value to 2 to use the Super Dragon Ball Z Super BG. Set the value to any number greater than 2 to disable
;## Super Background.
;## Default value is 2.
value = 2


; REPEL PROJECTILE FX
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 44
;#####################################################################################################################
;## Choose which repel projectile you want to use. Set the value to 0 if you want to use the new yellow/blue one. Set
;## the value to 1 to use the old purple one.
;## Default value is 0.
value = 0


; CLONES VANISHING DURING SUPER SENSITIVITY
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 43
;#####################################################################################################################
;## Choose how long it should take before Piccolo clones teleport out when Piccolo is hit during a super move that sends him into a custom state
;## set to 0 to disable.
;## value = 1 is 30 ticks.
;## value = 2 is 60 ticks.
;## value = 3 is 90 ticks.
;## value = 4 is 120 ticks.
;## value = 5 is 150 ticks.
;## value = 6 is 180 ticks.
value = 1


; DEMON GAUGE - X AXIS
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 45
;#####################################################################################################################
;## Set the value to move the Hope Gauge to a position that suits you (X Axis in this case). A positive value means
;## forward (to the middle of the screen), a negative value means backward (to the border of the screen).
;## Default value is 0.
value = 0


; DEMON GAUGE - Y AXIS
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 46
;#####################################################################################################################
;## Set the value to move the Hope Gauge to a position that suits you (Y Axis in this case). A positive value means
;## upward, a negative value means downward.
;## Default value is 0.
value = 0


; Clone Bug Testing
;#####################################################################################################################
;## Set the value to 1 to enable testing clone. 
;## Call the clone with Down + Start
;## Do NOT use unless you are testing to give feedback. This is a developer tool.
;## Default value is 0.
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 39
value = 0

;Change palette for button "a"
[State 5900, 4] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=1
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,1

;Change palette for button "b"
[State 5900, 5] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=2
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,95

;Change palette for button "c"
[State 5900, 6] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=3
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,82

;Change palette for button "x"
[State 5900, 7] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=4
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,68

;Change palette for button "y"
[State 5900, 8] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=5
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,57

;Change palette for button "z"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=6
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,12

;Change palette for button "start" + "a"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=7
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,10

;Change palette for button "start" + "b"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=8
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,95

;Change palette for button "start" + "c"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=9
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,31

;Change palette for button "start" + "x"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=10
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,32

;Change palette for button "start" + "y"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=11
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,33

;Change palette for button "start" + "z"
[State 5900, 3] 
type = RemapPal
trigger1 = Var(5)=0
trigger1 = palno=12
trigger1 = 1
source = 1, 1
;#####################################################################################################################
;## Change dest to the palette number you wish to add found in the palette folder. 
;## Only change the second value. 
;## Example to change this to 0042jango - peregrine mendicant.png 
;## dest = 1, 42
dest = 1,16

;Change palette during intro using direction keys?
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 5
;#####################################################################################################################
;## Up increases 1 pal index, down decreases 1 pal index, right increases 10, down decreases 10. Press Start while in his standing anim to select
;## 0 is off (Default) and 1 is on
value = 0


;=================================================
; DO NOT CHANGE ANYTHING BELOW THIS LINE !!!





[State 5900, End]
type = changestate
trigger1 = !time
value = ifelse(roundno = 1, 191, 0)
